package com.fhz.a1909;

import javax.inject.Inject;
import javax.inject.Named;

import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityComponent;

/**
 * 时间:2022/3/23
 *
 * @author msfeng
 * 简述: TODO
 */
@Module
@InstallIn(ActivityComponent.class)
public abstract class PersonModule {

//    @Binds
//    @Named("user")
//    public abstract Person bindUser(User user);

    @Binds
    @Named("student")
    public abstract Person bindStudent(Student student);
}

